Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 3 - QuickDraw 3D Objects / QuickDraw 3D Objects Reference
QuickDraw 3D Objects Routines / Determining Object Types


Q3Object_GetLeafType

You can use the Q3Object_GetLeafType function to get the leaf type of a QuickDraw 3D object.

TQ3ObjectType Q3Object_GetLeafType (TQ3Object object);
object
A QuickDraw 3D object.
DESCRIPTION
The Q3Object_GetLeafType function returns, as its function result, the leaf type identifier of the QuickDraw 3D object specified in the object parameter. You should call this function only when the specified object is a leaf object (for example, when you've read the object in from a file). If the leaf type cannot be determined or is invalid, Q3Object_GetLeafType returns the value kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996